/* Copyright 2019 The LUCI Authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#opt-in-banner>div {
    background-color: #feb;
    text-align: center;
    padding: 3px;
    color: #333;
    font-weight: bold;
    font-size: 12px;
}

#opt-in-link {
    position: relative;
    z-index: 2;
}

#feedback-bar {
    position: absolute;
    transition-property: top;
    transition-duration: 0.5s;
    transition-timing-function: ease;
    animation: 0.5s ease-out dropdown;
    z-index: 1;
    top: 0px;
    width: 100%;
}

#feedback-bar.show {
    top: 20px;
}

#modal-overlay {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 30vh;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.3);
}

#modal-overlay.show {
    display: block;
}

.modal-content {
    display: none;
    background-color: white;
    margin: auto;
    padding: 20px;
    border: 1px solid black;
    width: 60%;
}

.modal-content * {
    margin: 5px 0 5px 0;
}

#modal-overlay.show-retry-build-modal #retry-build-modal {
    display: block;
}

#modal-overlay.show-cancel-build-modal #cancel-build-modal {
    display: block;
}
